package com.xez.skins
{
	import spark.skins.mobile.TextInputSkin;
	
	public class BlueTextinputSkin extends TextInputSkin
	{
		public function BlueTextinputSkin()
		{
			super();
		}
		
		override protected function drawBackground(unscaledWidth:Number, unscaledHeight:Number):void
		{
			graphics.beginFill(0x0066CC);
			graphics.drawRoundRect(0, 0, unscaledWidth, unscaledHeight, 10, 10);
			graphics.endFill();
		}
		
		override protected function createChildren():void
		{
			super.createChildren();
			
			if (border)
				removeChild(border);
		}
		
	}
}